package mao.thinkinjava.concurency.uncatchexception;

/**
 * @author Totoro
 * @date 2020/5/9 9:20
 */
public class MyUncatchExceptionHandler implements Thread.UncaughtExceptionHandler {
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        System.out.println(t.getName());
        System.out.println("catch e"+e);
    }
}
